package com.smooth.common.pc.enums;

public enum GoodReqType {
	memberMyGoods(1, "会员发布的商品"),
	guideGoods(2, "游客商品浏览"),
	highMemberGoods(3, "高级会员浏览商品"),
	;

	public Integer value;
	public String name;

	GoodReqType(int value, String name) {
		this.value = value;
		this.name = name;
	}

	public static GoodReqType getStatus(Integer value) {
		if (value != null) {
			GoodReqType[] otypes = GoodReqType.values();
			for (GoodReqType memberType : otypes) {
				if (value.equals(memberType.value)) {
					return memberType;
				}
			}
		}
		return null;
	}
}
